﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Danh_muc_hoa_chat.aspx.cs" Inherits="DanhMuc_Danh_muc_hoa_chat" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
<table cellspacing="0" cellpadding="2" style="width:100%;" class="cssTable" border="0">
    <tr>
		 <td class="cssPageTitleBG" colspan="4">
		        <asp:label id="lbl_thong_tin_chi_tiet_tv" runat="server" CssClass="cssPageTitle" Text="Quản lý thông tin hóa chất"/>
		 </td>
	</tr>
    <tr>
         <td align="right" class="style2">
             <asp:label id="Label9" CssClass="cssManField" runat="server" Text="Tên hóa chất"/>
        </td>
        <td>
			    <asp:textbox id="m_txt_email_ca_nhan" CssClass="cssTextBox"  runat="server"  Width="90%" /> (*)
		</td>
         <td align="right" class="style2">
             <asp:label id="Label10" CssClass="cssManField" runat="server" Text="Số lượng"/>
        </td>
        <td>
			    <asp:textbox id="m_txt_email_bkindex" CssClass="cssTextBox"  runat="server"  Width="90%" />(*)
		</td>
    </tr>
     <tr>
            <td colspan="4" align="center">
                <asp:button id="m_btn_cap_nhat" accessKey="v" CssClass="cssButton" 
                            runat="server" Width="98px" Text="Cập nhật" Height="22px" />&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
               <asp:button id="m_btn_them_moi" accessKey="l" CssClass="cssButton" 
                            runat="server" Width="98px" Text="Thêm mới" 
                                    Height="22px" Visible = "true"/> &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
			   <asp:button id="m_btn_xoa_trang" accessKey="x" CssClass="cssButton" 
                            runat="server" Width="98px" Text="Xóa trắng" Height="22px"/>
                        
            </td>
        </tr>
    <!-- Nhãn Thêm, sửa đối tác hoặc danh sách đối tác-->
    <tr>
		<td class="cssPageTitleBG" colspan="4">
		    <asp:label id="m_lbl_nhan_doi_tac" runat="server" CssClass="cssPageTitle" Text="Danh sách các hóa chất"/>
		</td>
	</tr>
    <!-- Lưới dữ liệu -->	
	<tr>
		<td align="center" colspan="5" valign="top">
		    <asp:GridView ID="m_grv_dm_doi_tac" runat="server" CellPadding="4" 
                AutoGenerateColumns="False" Width="98%" BackColor="White" BorderColor="#3366CC" 
                BorderStyle="None" BorderWidth="1px">
                <Columns>
                    <asp:TemplateField HeaderText="STT">
                        <ItemTemplate><%# Container.DataItemIndex + 1 %>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="HO_TEN" HeaderText="Tên hóa chất" />
                    <asp:BoundField DataField="EMAIL" HeaderText="Số lượng" />
                      <asp:TemplateField HeaderText="Sửa">
                        <ItemTemplate>
                            <asp:LinkButton runat="server" ID="m_lbt_chi_tiet" CommandName="Update" ToolTip="Sửa" CausesValidation="false"><center><img src="../Images/document-edit.png" width="20px" height="20px" alt="Sửa" /></center></asp:LinkButton>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Xóa">
                         <ItemTemplate>
                            <asp:LinkButton runat="server" ID="m_lbt_xoa" CommandName="Delete" OnClientClick="return confirm ('Các dữ liệu liên quan cũng sẽ bị xóa. Bạn có thực sự muốn xóa ?')" ToolTip="Xóa dự án này" CausesValidation="false"><center><img src="../Images/del.png" width="20px" height="20px" alt="Xóa" /></center></asp:LinkButton>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
                <HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" />
                <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
                <RowStyle BackColor="White" ForeColor="#003399" />
                <SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />

                <SortedAscendingCellStyle BackColor="#EDF6F6" />
                <SortedAscendingHeaderStyle BackColor="#0D4AC4" />
                <SortedDescendingCellStyle BackColor="#D6DFDF" />
                <SortedDescendingHeaderStyle BackColor="#002876" />

            </asp:GridView> 
        </td>
	</tr>	
</table>
</asp:Content>

